package com.starchen.optimalselection.web.model;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("ums_member")
public class Member {

	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.AUTO)
	private Long id;

	@ApiModelProperty(value = "微信openId")
	private String wxOpenId;

	@ApiModelProperty(value = "客户昵称")
	private String nickName;

	@ApiModelProperty(value = "性别")
	private String gender;

	@ApiModelProperty(value = "头像")
	private String avatarUrl;

	@ApiModelProperty(value = "电话")
	private String phone;

	@ApiModelProperty(value = "1有效，2禁用")
	private Integer status;

	@TableField("create_time")
	private Date createTime;

	@JsonIgnore
	@TableField("update_time")
	private Date updateTime;

	@JsonIgnore
	@TableLogic
	@TableField("is_deleted")
	private Integer isDeleted;

}